import 'dart:io';

import 'package:flutter_screenutil/flutter_screenutil.dart';

/// 屏幕工具类
class MyScreenUtil {
  // 获取屏幕分辨率
  static double get pixelRatio =>
      Platform.isAndroid ? ScreenUtil().pixelRatio! : 1.0;
}
